/*
 * 
 * 
 */

package DigimonAdventure.Things;

import DigimonAdventure.Database.Direction;
import javax.swing.ImageIcon;

/**
 *
 * @author Kris Derril Siregar
 */
public final class Obstacle extends AbstractThings{
    Obstacle(int x,int y){
        super(x,y);
    }
     @Override
    public void move(Direction arah){}

    @Override
    public ImageIcon getImageIcon() {
        if (icon == null){
            icon = new ImageIcon(getClass().getResource("/DigimonAdventure/Graphics/ampun.gif"));
        }
        return icon;
    }

}
